#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
VXBattle 数据库模块
包含数据库连接、模型定义和数据访问层
"""

from .database_manager import DatabaseManager, db_manager
from .database_config import DATABASE_CONFIG, GAME_CONFIG
from .models import (
    Account, Character, IdleLocation, IdleRecord, 
    Battle, BattleParticipant,
    CharacterClass, CharacterStatus, BattleType, BattleStatus
)

__all__ = [
    'DatabaseManager',
    'db_manager',
    'DATABASE_CONFIG',
    'GAME_CONFIG',
    'Account',
    'Character',
    'IdleLocation',
    'IdleRecord',
    'Battle',
    'BattleParticipant',
    'CharacterClass',
    'CharacterStatus',
    'BattleType',
    'BattleStatus'
]

__version__ = '1.0.0'
__author__ = 'VXBattle Team'
__description__ = 'VXBattle数据库模块，提供MySQL数据持久化支持'